package com.example.skyline.service;

import org.bytedeco.javacv.FFmpegFrameGrabber;
import org.bytedeco.javacv.FFmpegFrameRecorder;

import java.io.OutputStream;

public interface VideoStreamService {
   

    String convertRtspToFlv(Long videoId, String rtspUrl) throws FFmpegFrameRecorder.Exception, FFmpegFrameGrabber.Exception;

    byte[] getFlvData(Long videoId);

    void stopFlvStream(Long videoId);
}